package io.renren.controller;


import org.springframework.beans.BeanUtils;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.*;

public class Test {

    public static void main(String[] args) throws Exception {
        Age a = new Age()   ;
        a.setAddress("1");
        a.setName("1");
        AgeDto b = new AgeDto() ;
        b.setAddress("2");
        BeanUtils.copyProperties(b,a);
        System.out.println(a);
    }


}
